#NEXUS

BEGIN NETWORKS;

Network net = ((a,(b,(c)x#1)),((x#1,d),e));
Network net1 = ((a,(b,(c)x#1)),((d,x#1),e));
Network net2 = ((((a, (c)x#1), d), (b, x)), e);
Network net3 = ((a,b),(c,(d,(e,(f,g)))));
Network net4 = ((f,b),(c,(d,(a,(e,g)))));

END;


BEGIN PHYLONET;

Charnet net -m tree;
Cmpnets net1 net2 -m cluster;
countCoal net3 net4;

END;
===

Charnet net -m tree
((a,(b,c)),(e,d));
((a,b),((d,c),e));

Cmpnets net1 net2 -m cluster
The cluster-based distance between two networks: 0.8333333333333334 0.8 0.8166666666666667

countCoal net3 net4
4
===
